package com.southwind.mapper;

import com.southwind.entity.SysUser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

public interface SysUserMapper extends BaseMapper<SysUser> {
//    @Select({"select u.name from sys_user u where u.id = #{id} "})
    @Select("SELECT name FROM sys_user WHERE id = #{id}")
    public String getUserNameById(Integer id);
}
